package hongniang

import (
	"github.com/gin-gonic/gin"
)

func Router(router *gin.RouterGroup) {
	router.POST("/phonecode", Phonecode)                       //发送验证码
	router.POST("/login", Login)                               //注册登录
	router.POST("/updatezl", Updatezl)                         //完善资料
	router.POST("/hongniangsmrz", Hongniangsmrz)               //实名认证
	router.POST("/updateyz", Updateyz)                         //绑定邀请码
	router.POST("/hongnianginfo", Hongnianginfo)               //红娘信息详情
	router.POST("/hongniangfuwu", Hongniangfuwu)               //红娘选中服务
	router.POST("/hongniangfuwuupdate", Hongniangfuwuupdate)   //红娘修改服务
	router.POST("/hongniangupdatephone", Hongniangupdatephone) //红娘修改联系方式
	router.POST("/hongniangyyd", Hongniangyyd)                 //红娘预约单接单or关闭接单
	router.POST("/userlist", Userlist)                         //官方+捞一捞
	router.POST("/danshentuans", Danshentuans)                 //我的单身团
	router.POST("/collectuser", Collectuser)                   //收藏取消收藏
	router.POST("/bankinfo", Bankinfo)                         //查看绑定银行卡信息
	router.POST("/bankupdate", Bankupdate)                     //修改or添加银行卡信息
	router.POST("/tixianadd", Tixianadd)                       //申请提现
	router.POST("/tixianlist", Tixianlist)                     //提现记录
	router.POST("/hongliangpricelist", Hongliangpricelist)     //红娘余额变动记录
	//订单
	router.POST("/orderslist", Orderslist)     //订单列表
	router.POST("/ordersadd", Ordersadd)       //生成订单
	router.POST("/orderarea", Orderarea)       //设置订单地址
	router.POST("/orderwc", Orderwc)           //完成订单
	router.POST("/ordersjd", Ordersjd)         //接单
	router.POST("/ordersshenhe", Ordersshenhe) //对方同意or拒绝
	router.POST("/orderdel", Orderdel)         //取消订单
	//培训
	router.POST("/jiaochengs", Jiaochengs) //教程列表
	router.POST("/kechengs", Kechengs)     //课程列表
	router.POST("/kechengbm", Kechengbm)   //课程报名or取消报名
	//积分
	router.POST("/hongniangjifen", Hongniangjifen)                //红娘积分
	router.POST("/jifenconfig", Jifenconfig)                      //积分配置查询
	router.POST("/qiandao", Qiandao)                              //签到
	router.POST("/qiandaolist", Qiandaolist)                      //本月签到记录签到
	router.POST("/pointslist", Pointslist)                        //本月积分获取记录
	router.GET("/hongniangjifenqingling", Hongniangjifenqingling) //红娘积分每月自动清零
	router.POST("/jubao", Jubao)                                  //举报
	router.POST("/shensu", Shensu)                                //申诉

}
